package com.gy.mapper;

import com.aaa.entity.OrderCharge;
import com.aaa.entity.OrderChargeItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;


/**
 * @Author GaoYa
 * @Date 2023/3/24 11:00
 * @Version 1.5
 */
public interface OrderChargeMapper extends BaseMapper<OrderCharge> {
    List<OrderChargeItem> findAllUserId(String orderId);

    Integer CashCharges(String orderId);

    void insertAll(String regId, String orderId, String patientName, BigDecimal orderAmount, LocalDateTime now);

    void updateByStatus(String itemId);

    void insertZFB(String orderId, String regId, String patientName, BigDecimal orderAmount, LocalDateTime now);

    void updateByIdOrderCharge(String orderId);
}
